<?php
include "includeFiles.php";
if(empty($_SESSION['user_id'])) echo "<script>location.href='login.php';</script>";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="X-UA-Compatible" content="IE=7" />

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $C['Title'];?></title>
<Link href="../uploadfile/ico/<?php echo $C['ICO'];?>" rel="Shortcut Icon">
<meta name="Keywords" content="<?php echo $C['Keywords'];?>">
<meta name="description" content="<?php echo $C['Description'];?>">
<Meta name="Copyright" Content="<?php echo $C['CopyRight'];?>">
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link charset="utf-8" rel="stylesheet" href="css/alipay.css">
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="jquery-1.8.3.min.js"></script>
<script type="text/javascript">
<!--

$(document).ready(function(){
	//$(".mh_zx_ct:gt(0)").hide();
	var opt=$(".mh_zx_box ul li");
	opt.hover(function(){
		//alert($(this));
		$(this).addClass('one').siblings().removeClass('one');
		var opt_index=opt.index(this);
		$(".mh_zx_ct").eq(opt_index).show().siblings().hide();
	});
	$(".nav_green").mouseover(function(){
		$("#nav_more").show();
	}).mouseout(function(){
		var timer=window.setTimeout(function(){
			$("#nav_more").hide();	
		},1000)
		$(".nav_green li").mouseover(function(){
			window.clearTimeout(timer);
			//$("#nav_more").show();
		})
	})
	$(".nav_green li").mouseout(function(){
		$("#nav_more").hide();	
	})

});
//-->
</script> 
</head>
<body id="mainbody">


<?php include_once('header.php');?>

<!--主体布局-->
<div class="main">
  <div style="width:980px;height:100%;overflow:hidden;margin-top:10px">
   	<div class="w240 h210 f_l">
   <div class="pro_rm_top_line"></div>
   <div class="pro_rm_title">会员中心</div>
   <?php $memermsg =  $info->memberMsg();?>
   <div class="pro_rm_main">
      <div class="pro_BoxRight_up dright">
      <p class="title"><a href="member_view.php?cityid=<?=$cityid?>" target="_top">用户名：<?=$memermsg['user_name']?></a></p>
      <p class="title"><a href="member_acount.php?cityid=<?=$cityid?>" target="_top">账户余额：<?=$memermsg['money']?>元</a></p>
      <p class="title"><a href="member_acount.php?cityid=<?=$cityid?>" target="_top">账户积分：<?=$memermsg['zhifen']?></a></p>
     </div>
   <div class="service3">
   <a href="member.php?cityid=<?=$cityid?>" class="fb" onclick="addTrackPositionToCookie('1','fb');">更改设置</a>
   <a href="cz1.php?cityid=<?=$cityid?>" class="ck" onclick="addTrackPositionToCookie('1','ck');">充　　值</a>
   <a href="?action=exit"><img src="images/pp.jpg" /></a>
   </div>
 </div>
    </div>
        <div class="w500 h210 f_l ml10"><img src="images/ads.jpg" /></div>
        <div class="w220 h210 f_r">
         <div class="pic_zx_gg">
      <div class="mh_zx_box">
        <ul>
          <li class="one">手机/上网卡交费</li>
          <li>固话/宽带交费</li>
        </ul>
      </div>
      <div class="mh_zx_content">
        <div class="mh_zx_ct">
          <ul class="list_vio2">
<script for="T" event="onkeyup">
if(value.length==3)document.all[event.srcElement.sourceIndex+1].select();
</script>    
<form method="post">  
<p>手机号码：<input type="text"></p>  
<p>固定金额：  
<select name="color" id="color">  
    <option value="red">100</option>  
    <option value="green">200</option>  
    <option value="blue">300</option>  
    <option value="yellow">400</option>  
    <option value="cyan">500</option>  
</select>　<span class="cs">折后：98元</span></p>
 <p><input type="submit" name="btnSubmit" id="btnSubmit" value="点击充值"></p>  
</form>
         </ul>
        </div>
        <div class="mh_zx_ct" style="display: none;">
          <ul class="list_vio2">
          </ul>
        </div>

      </div>
      <!--切换END-->
    </div>
        </div>
        
 </div>
        
        
        
    <div style="width:980px;height:100%;overflow:hidden;margin-top:10px">
    	<img src="images/rmhm.png" />
        <ul class="hm_list">
		
		
		<? 
		   $result = $info->indexPro(8,$cityid,$limit = 6);
		    if($result){
			foreach($result as $key=>$value){
				
		?>
        	<li style="margin-right:10px">
            	  <a href="?action=addcart&prid=<?=$value['SysProductsID']?>&cityid=<?=$cityid?>"><img src="uploadfile/product_b/<?=$value['Photos1']?>"  width="316px" height="140px"    onerror="javascript:this.src='images/hm_pic.jpg'" /></a>
            	<div style="text-align:center;margin-top:10px">
                 <a href="?action=addcart&prid=<?=$value['SysProductsID']?>&cityid=<?=$cityid?>"><?=$value['ProductName']?></a><br /><span style="color:#ec6c00">￥<?=$value['Price']?></span>
                </div>
            </li>
			
			
         <? }}?>
        </ul>
    </div>
    <div style="width:980px;height:100%;overflow:hidden;margin-top:10px">
    	<img src="images/jflp.png" />
        <ul class="lp_list">
				<? 
		   $result = $info->indexPro(112,$cityid,$limit = 5);
		    if($result){
			foreach($result as $key=>$value){
		?>
        	<li>
             <a href="?action=addcart&prid=<?=$value['SysProductsID']?>&cityid=<?=$cityid?>">
            	<img  src="./uploadfile/product_b/<?=$value['Photos1']?>" width="180px" height="200px" 
					   onerror="javascript:this.src='images/hm_pic.jpg'" />
                       </a>
            	<div style="text-align:center;margin-top:10px">
               <a href="?action=addcart&prid=<?=$value['SysProductsID']?>&cityid=<?=$cityid?>"><?=$value['Price']?>积分</a><br />
                </div>
            </li>
            <?  }} ?>
        </ul>
    </div>
    <div style="width:980px;height:100%;overflow:hidden;margin-top:10px">
    	<img src="images/copy_line.jpg" /><br /><br /><br />
        <img src="images/copy.jpg" />
          <?php include_once('help.php');?>
        <img src="images/copy_line.jpg" />
    </div>
</div>
<!--#主体布局-->

<div class="clear"></div>
   <?php include_once('footer.php');?>
</body>
</html>
